<%--
  Created by IntelliJ IDEA.
  User: SuZePing
  Date: 2021/1/18
  Time: 10:50
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<%@include file="/WEB-INF/include/include-head.jsp"%>
</head>
<body>
<%@include file="/WEB-INF/include/include-nav.jsp"%>
<div class="container-fluid">
	<div class="row">
		<%@include file="/WEB-INF/include/include-sidebar.jsp"%>
		<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
			<ol class="breadcrumb">
				<li><a href="admin/to/main/page.html">首页</a></li>
				<li><a href="admin/get/page.html">数据列表</a></li>
				<li class="active">修改</li>
			</ol>
			<div class="panel panel-default">
				<div class="panel-heading">
					<h3 id="title" class="panel-title"><i class="glyphicon glyphicon-th"></i> 用户修改</h3>
				</div>
				<div class="panel-body">
					<form action="admin/edit.html" method="post" role="form">
						<div class="form-group">
							<input type="hidden" name="userId" value="${requestScope.selAdmin.userId}">
							<input type="hidden" name="pageNum" value="${param.pageNum}">
							<input type="hidden" name="keyword" value="${param.keyword}">
							<label for="addAccount">登录账号</label>
							<input type="text" class="form-control" id="addAccount" name="account"
								   placeholder="请输入登录账号" required
								   value="${requestScope.selAdmin.account}">
						</div>
						<div class="form-group">
							<label for="addName">用户昵称</label>
							<input type="text" class="form-control" id="addName" name="name"
								   placeholder="请输入用户昵称" required
								   value="${requestScope.selAdmin.name}">
						</div>
						<div class="form-group">
							<label for="addEmail">邮箱地址</label>
							<input type="email" class="form-control" id="addEmail" name="email"
								   placeholder="请输入邮箱地址" required
								   value="${requestScope.selAdmin.email}"><br>
							<p id="exceptionMsg" style="font-size:15px" class="help-block label label-warning">${requestScope.exception.message}</p>
						</div>
						<button type="submit" class="btn btn-success">
							<i class="glyphicon glyphicon-edit"></i> 确定
						</button>
						<button type="reset" class="btn btn-danger">
							<i class="glyphicon glyphicon-refresh"></i> 重置
						</button>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>

</body>
</html>














